home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Comm
/
traceroute-1.0.lha
/
traceroute
/
src
/
traceroute_ixsupport.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-09
|
264b
|
19 lines
#include <proto/exec.h>
#include <stdio.h>
/* obtain our own unique process number */
int getpid(void)
{
return((int)FindTask(NULL));
}
/* set buffering of a stream to 'line buffered' */
void setlinebuf(FILE *stream)
{
stream->_flag|=_IOLBF;
}